/**
 * @Author: Andy
 * @Date: 2021年10月24日 19:23
 * @Description:
 */
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!");

        int year = 1949;
        byte b = 1;
        short s = 200;
        int i = 300;
        long l = 400;

        char c = '中';
//        char c2 = '中国';

        float f = 54.321f;
        boolean b1 = true;
        String str = "Hello Java";

        long val = 26L; //以L结尾的字面值表示long型
        int decVal = 26; //默认就是int型
        int hexVal = 0x1a; //16进制
        int oxVal = 032; //8进制
        int binVal = 0b11010; //2进制
        System.out.println(oxVal);
    }
}
